home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / clipper / ks94an.zip / QENCRYPT.HDR < prev    next >
Text File  |  1994-04-25  |  987b  |  40 lines

  1. /******************************************************************************
  2.                  The Klipper Library, for CA-Clipper 5.x
  3.         Copyright (c), 1994, Wallace Information Systems Engineering
  4.  
  5. FUNCTION:
  6.  
  7. _QuickEncrypt( cString, nKey ) --> cEncryptStr
  8.  
  9. PARAMETERS:
  10.  
  11. cString : String to be encrypted.
  12. nKey    : Numeric key value for offset seed
  13.  
  14. SHORT:
  15.  
  16. Quick encryption routine (less secure, but faster).
  17.  
  18. DESCRIPTION:
  19.  
  20. _QuickEncrypt() provides a faster encryption than _Encrypt() at the expense
  21. of being easier to decrypt.  Strings encrypted with _QuickEncrypt() can
  22. only be decoded with _QuickDecrypt().
  23.  
  24. _QuickEncrypt() returns the original string intact if an error occurs (if
  25. nKey is not specified or is non-numeric.)
  26.  
  27. NOTE:
  28.  
  29.  
  30.  
  31. EXAMPLE:
  32.  
  33. t = _QuickEncrypt('ABCDEFG',55)
  34.  
  35. Result:
  36.  
  37. t = <encrypted string> if no error, or 'ABCDEFG' if nKey is invalid.
  38.  
  39. ******************************************************************************/
  40.